# Gnuplot scipt file for plotting data in file "normal_bonanza.dat"
# This file is named normal_bonanza.p

set terminal png
set output "block_adv_speedup.png"

unset log
#set logscale xy
#unset log y2

unset label

#set xtic auto
set ytic auto

set autoscale

set xtics("4" 0, "16" 16)
#set xrange [0:20]
set yrange [0:15]

set xlabel "# of processors"
set ylabel "speedup"

plot "block_naive.dat" using 1:((5.11E+008)/$2) title 'matrix size: 512' with linespoints, \
        "block_naive.dat" using 1:((6.37E+009)/$4) title 'matrix size: 1024' with linespoints, \
	"block_naive.dat" using 1:((2.37E+010)/$6) title 'matrix size: 1536' with linespoints, \
	"block_naive.dat" using 1:((3.74E+010)/$8) title 'matrix size: 2048' with linespoints
